home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 13992 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.7 KB

  1. Path: news.connectnet.com!usenet
  2. From: habit@delphi.com
  3. Newsgroups: comp.lang.misc,comp.lang.c
  4. Subject: Re: GOTO controversy
  5. Date: Wed, 10 Apr 1996 22:42:42 PDT
  6. Organization: CONNECTnet Internet Network Services (service provider)
  7. Message-ID: <4ki66c$9tf@news.connectnet.com>
  8. References: <314FB5F5.259B@simi.is> <3151B47F.70FD@connix.com> <oun34tm3c7.fsf@lynx.cs.byu.edu> <828656035snz@genesis.demon.co.uk>
  9. NNTP-Posting-Host: max-nc-203.connectnet.com
  10. X-Newsreader: skim 0.8.4
  11.  
  12. Lawrence Kirby <fred@genesis.demon.co.uk> wrote:
  13. >In article <oun34tm3c7.fsf@lynx.cs.byu.edu> hall@cs.byu.edu "Kelly Hall" writes:
  14. >
  15. >>>>>>> "Lawrence" == Lawrence Kirby <fred@genesis.demon.co.uk> writes:
  16. >>    Lawrence> An O(log N) stack depth is generally not a problem. I
  17. >>    Lawrence> guess you could say that is finite because there are
  18. >>    Lawrence> typically practical upper bounds to N.
  19. >>
  20. >>Tail recursion is implemented by all non-stupid compilers the same way
  21. >>as the imperative (goto) version.  Gcc will do this, whether or not
  22. >>your favorite compiler will is a different matter.
  23. >>
  24. >>No stack problems at all.
  25. >
  26. >Code that relies on compiler optimisations (which C doesn't guarantee) to
  27. >even work at all is at best highly suspect and at worst plain broken. In
  28. >some cases it is company policy to compile with optimisations turned off,
  29. >this should not cause code to blow up.
  30. >
  31. >-- 
  32. >-----------------------------------------
  33. >Lawrence Kirby | fred@genesis.demon.co.uk
  34. >Wilts, England | 70734.126@compuserve.com
  35. >-----------------------------------------
  36.  
  37. -- 
  38.  
  39. ----------------------------------------------------------------------------
  40. VISION AUTOMATION
  41. Taufiq Habib
  42. habit@delphi.com
  43. Office (619) 930 1974
  44. Beeper (800) 796 7363  x103-6118
  45.